package org.jeecg.modules.maintain.service.impl;

import org.jeecg.modules.demo.mes.entity.ManageDevice;
import org.jeecg.modules.maintain.entity.CamelliaDeviceRunTime;
import org.jeecg.modules.maintain.mapper.CamelliaDeviceRunTimeMapper;
import org.jeecg.modules.maintain.service.ICamelliaDeviceRunTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 设备运行时间表
 * @Author: jeecg-boot
 * @Date:   2023-05-29
 * @Version: V1.0
 */
@Service
public class CamelliaDeviceRunTimeServiceImpl extends ServiceImpl<CamelliaDeviceRunTimeMapper, CamelliaDeviceRunTime> implements ICamelliaDeviceRunTimeService {

    @Autowired
    public CamelliaDeviceRunTimeMapper camelliaDeviceRunTimeMapper;

    @Override
    public ManageDevice selDevice(String name) {
        return camelliaDeviceRunTimeMapper.selDevice(name);
    }

    @Override
    public CamelliaDeviceRunTime sel(String name) {
        return camelliaDeviceRunTimeMapper.sel(name);
    }
}
